<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>添加好友</title>
    <link rel="stylesheet" th:href="@{/webjars/bootstrap/4.3.1/css/bootstrap.min.css}"/>
</head>
<body>

<div class="container">
    <div class="row">
        <div class="col-sm">
        </div>
        <div class="col-sm">
            <br>
            <br>
            <br>
            <h3>添加好友</h3>
            <form th:action="@{/addFriend}" method="post">
                <div class="form-group">
                    <label for="friendName">用户名</label>
                    <input type="text" id="friendName" name="friendName" class="form-control" placeholder="请输入对方用户名">
                </div>
                <button type="submit" class="btn btn-primary">添加</button>
            </form>

        </div>
        <div class="col-sm">
        </div>
    </div>
</div>

</body>
</html>